package com.example.demo.nuoqi.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:Problemmanagement构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "Problemmanagement",value = "Problemmanagement")
@Table(name="problemmanagement")
public class Problemmanagement implements Serializable{

	@ApiModelProperty(value = "",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Integer id;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "title")
	private String title;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "content")
	private String content;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "img")
	private String img;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "userName")
	private String userName;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "userId")
	private Integer userId;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "professionalDirection")
	private String professionalDirection;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "likeNum")
	private String likeNum;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "status")
	private String status;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "createTime")
	private Date createTime;//



	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public String getTitle() {
		return title;
	}

	//set方法
	public void setTitle(String title) {
		this.title = title;
	}
	//get方法
	public String getContent() {
		return content;
	}

	//set方法
	public void setContent(String content) {
		this.content = content;
	}
	//get方法
	public String getImg() {
		return img;
	}

	//set方法
	public void setImg(String img) {
		this.img = img;
	}
	//get方法
	public String getUserName() {
		return userName;
	}

	//set方法
	public void setUserName(String userName) {
		this.userName = userName;
	}
	//get方法
	public Integer getUserId() {
		return userId;
	}

	//set方法
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	//get方法
	public String getProfessionalDirection() {
		return professionalDirection;
	}

	//set方法
	public void setProfessionalDirection(String professionalDirection) {
		this.professionalDirection = professionalDirection;
	}
	//get方法
	public String getLikeNum() {
		return likeNum;
	}

	//set方法
	public void setLikeNum(String likeNum) {
		this.likeNum = likeNum;
	}
	//get方法
	public String getStatus() {
		return status;
	}

	//set方法
	public void setStatus(String status) {
		this.status = status;
	}
	//get方法
	public Date getCreateTime() {
		return createTime;
	}

	//set方法
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


}
